Skip to content

feat(openai): Add new models (o4-mini, o3, o1-pro, gpt-4.1 series, realtime previews) #2747

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

apappascs
Copy link
Contributor

@apappascs apappascs commented Apr 15, 2025

Sync the ChatModel enum with the latest OpenAI documentation:

  • Reorganize models into categories.
  • Add new models (o4-mini, o3, o1-pro, gpt-4.1 series, realtime previews).
  • Update descriptions, context windows, max tokens, and knowledge cutoffs.
  • Add links to official model documentation.
  • Remove deprecated/preview models.

Sync the ChatModel enum with the latest OpenAI documentation:
- Reorganize models into categories.
- Add new models (o4-mini, o3, o1-pro, gpt-4.1 series, realtime previews).
- Update descriptions, context windows, max tokens, and knowledge cutoffs.
- Add links to official model documentation.
- Remove deprecated/preview models.

Signed-off-by: Alexandros Pappas <apappascs@gmail.com>
@apappascs apappascs force-pushed the feat/openai-gpt-4.1-support branch from 2016c7f to 9193a39 Compare April 17, 2025 09:56
@apappascs apappascs changed the title feat(openai): Add OpenAI GPT-4.1 models to the OpenAiApi.ChatModel feat(openai): Add new models (o4-mini, o3, o1-pro, gpt-4.1 series, realtime previews) Apr 17, 2025
@apappascs
Copy link
Contributor Author

@dev-jonghoonpark @apappascs It would be great if you could add the o3 and o4-mini as well. 👍

Thats a good point. I just clear up all chat models and categorize them following the categorization OpenAI has on their website https://platform.openai.com/docs/models .
Same as we did for mistral models on this commit 4874374
cc: @ilayaperumalg

@ilayaperumalg ilayaperumalg self-assigned this Apr 17, 2025
@ilayaperumalg ilayaperumalg added this to the 1.0.0-RC1 milestone Apr 17, 2025
@ilayaperumalg
Copy link
Member

@apappascs Thank you for the detailed inputs updating the models info.

@ilayaperumalg
Copy link
Member

Rebased and merged as 5930839

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants